﻿using System;

namespace Web.Base.GameProxys
{
    public static class GameClientFactory
    {
        public static IGameClient Create(int gameId)
        {
            switch (gameId)
            {
                case 1:
                    return new DxzGameClient(gameId);
                case 2:
                    return new JlcGameClient(gameId);
                default: throw new NotSupportedException();
            }
        }
    }
}